package com.hq.myapplicationdemo.model;



import java.io.Serializable;

public class DictBean implements Serializable {
    /**
     * 字典id
     */
    private Integer dictId;

    /**
     * 值
     */
    private String value;

    /**
     * 标签
     */
    private String label;

    /**
     * 类型
     */
    private String type;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 图标
     */
    private String icon;
    private int iconResId;

    /**
     * 上级ID
     */
    private Integer parentId;

    /**
     * 描述
     */
    private String description;

    public int getIconResId() {
        return iconResId;
    }

    public void setIconResId(int iconResId) {
        this.iconResId = iconResId;
    }

    public Integer getDictId() {
        return dictId;
    }

    public void setDictId(Integer dictId) {
        this.dictId = dictId;
    }

    public String getValue() {
        return value == null ? Common.EMPTY_STR : value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label == null ? Common.EMPTY_STR : label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
